<?php
/**
 * Created by PhpStorm.
 * User: Qch
 * Date: 2017/1/16
 * Time: 9:17
 */

namespace Application\UserCenter\Controller;


use Application\Common\Controller\ElementUIController;
use Application\Common\Controller\ManyElementUIActor;

/**
 * 部门管理操作
 */
class CategoryController extends ElementUIController
{
    protected function bindActor()
    {
        return new ManyElementUIActor($this);
    }

    public function defaultTitle($hisCollection, $values)
    {
        return $values['nickname'] . '(' . $values['name'] . ')的部门';
    }
}